from django.shortcuts import render_to_response
from ldap import *
from bookingCal.ecalendar.models import Equipment
from django.template import RequestContext



def index(request):
    
    return render_to_response('index.html')

def equip(request):
    entries = Equipment.objects.filter(enabled=True).order_by('name')

    return render_to_response('equip.html',{'entries':entries})

